<?php

global $pf_settings ;
$pf_settings = array(
	'portfolio_type'=>'lightbox'	
	);	
				
$items = get_theme_support( 'cvincludes-portfolio' );
if(isset($items[0])) {
	foreach ($items[0] as $setting_id => $setting_value)
		$pf_settings[$setting_id] = $setting_value;
}

require_once( 'portfolio-option.php' );

if($pf_settings['portfolio_type'] == 'lightbox') {	
	require_once( 'portfolio-lightbox.php' );
}
else {
	require_once( 'filterable/filterable.php' );
}
?>